package com.haojiang.mh.remote.ui.frag

import android.view.View
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutManager
import com.haojiang.mh.R
import com.haojiang.mh.remote.adapter.ClientBedDialogFragAdapter
import com.haojiang.mh.remote.base.BaseFrag
import kotlinx.android.synthetic.main.frag_second.*

class FragSecond : BaseFrag() {

    val clientBedDialogFragAdapter = ClientBedDialogFragAdapter()

    override fun onLayoutId(): Int {
        return R.layout.frag_second
    }

    override fun initView() {
//        return View.inflate(context, R.layout.frag_second, null)
    }

    override fun initListener() {
        rvInterfaceNo.addItemDecoration(DividerItemDecoration(context, DividerItemDecoration.VERTICAL))
        rvInterfaceNo.layoutManager = LinearLayoutManager(context)
        rvInterfaceNo.adapter = clientBedDialogFragAdapter
    }
}